import request from '@/utils/request'

export function getTreeList() {
    return request({
        url: '/system/admin-dept/list-tree-kv',
        method: 'get'
    })
}

export function likeName(name) {
    return request({
        url: '/system/admin-dept/list-by-name',
        method: 'get',
        name
    })
}